<ul class="nav nav-sidebar">

    <li ng-class="{'active' : $state.includes('index.taskMng')}">
        <a ui-sref="index.taskMng">任务管理</a>
    </li>

    <li ng-class="{'active' : $state.includes('index.goodsMng')
    || $state.includes('index.goodsForm')
    ||  $state.includes('index.goodsUpload')
    }">
        <a ui-sref="index.goodsMng">产品管理</a>
    </li>
    <li><a ui-sref="index.activityMng">活动页管理</a></li>
    <li><a ui-sref="index.memberMng">用户管理</a></li>
    <li><a ui-sref="index.withdrawMng">提现管理</a></li>
    <li ><a ui-sref="index.wineryMng">酒庄管理</a></li>
<!--    <li><a ui-sref="index.categoryMng">类型管理</a></li>-->

    <li ng-class="{'active' : $state.includes('index.orderMng')
    || $state.includes('index.orderForm')}" >
        <a ui-sref="index.orderMng">订单管理</a>
    </li>

    <li ng-class="{'active' : $state.includes('index.repurchaseMng') || $state.includes('index.repurchaseForm')}"><a
            ui-sref="index.repurchaseMng">回购管理</a></li>

    <li ng-class="{'active' : $state.includes('index.parametersMng') || $state.includes('index.parametersForm')}" ><a ui-sref="index.parametersMng">参数管理</a></li>

    <li ng-class="{'active' : $state.includes('index.topBannerMng')
    || $state.includes('index.topBannerForm')
    ||  $state.includes('index.topBannerUpload')
    }"><a ui-sref="index.topBannerMng">轮播图管理</a>
    </li>

    <li ng-class="{'active' : $state.includes('index.storeMng')
    || $state.includes('index.storeForm')
    ||  $state.includes('index.storeUpload')
    }"><a ui-sref="index.storeMng">门店管理</a>
    </li>

    <li ui-sref-active="active"><a href="#">Export</a></li>
</ul>